package com.ssy.lingxi.platform.template.service.model.dto.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 收藏/取消收藏 - DTO
 * @author fhj
 * @date 2020/11/03
 * @version 2.0.0
 */
@Data
public class CollectDTO {

    @ApiModelProperty(value = "ID")
    @NotNull(message = "ID不能为空")
    private Long id;

    @ApiModelProperty(value = "收藏状态 true-收藏 false-取消收藏")
    @NotNull(message = "收藏状态不能为空")
    private Boolean status;
}
